using Nop.Core.Domain.XJ;

namespace Nop.Data.Mapping.XJ
{
	public partial class XJInspectionMap : NopEntityTypeConfiguration<XJInspection>
	{
		public XJInspectionMap()
		{
			this.ToTable("XJInspection");
			this.HasKey(c => c.Id);

			this.Property(p => p.Comment).IsRequired().HasMaxLength(50);
			this.Property(p => p.CustomerName).HasMaxLength(50);

		}
	}
}

